package com.starbaba.spread.model;

import java.util.Date;

/**
 * 数据库映射实体 <br/>
 * 对应表名 spread_advertising
 * 
 * @author Herz
 *
 */
public class AdvertisingVO implements java.io.Serializable {

	// Fields

	private Long id;
	private String name;
	private Double unitPrice;
	private Double total;
	private Double balance;
	private Date date;
	private String url;
	private String userid;

	// Constructors

	/** default constructor */
	public AdvertisingVO() {
	}

	/** minimal constructor */
	public AdvertisingVO(String name) {
		this.name = name;
	}

	/** full constructor */
	public AdvertisingVO(String name, Double unitPrice, Double total, Double balance, Date date, String url,
			String userid) {
		this.name = name;
		this.unitPrice = unitPrice;
		this.total = total;
		this.balance = balance;
		this.date = date;
		this.url = url;
		this.userid = userid;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getUnitPrice() {
		return this.unitPrice;
	}

	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Double getTotal() {
		return this.total;
	}

	public void setTotal(Double total) {
		this.total = total;
	}

	public Double getBalance() {
		return this.balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

}
